package com.mall.framework.web;

import com.mall.common.result.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/test")
    public Result<String> test() {
        return Result.success("测试接口正常");
    }

    @GetMapping("/health")
    public Result<String> health() {
        return Result.success("服务健康");
    }
} 